Utility for string manipulations.
More...
Utility for string manipulations.
◆ splitUserTypeName()
static std::vector<std::string> nkScripts::StringUtils::splitUserTypeName |
( |
const std::string_view & |
userTypeName | ) |
|
|
static |
Allows to split a string into smaller strings, meant for type name parsing. Will split members separated by "::".
- Parameters
-
userTypeName | The type name to split. |
- Returns
- The split typename.
◆ interpreterToString()
static std::string_view nkScripts::StringUtils::interpreterToString |
( |
INTERPRETER |
value | ) |
|
|
static |
Converts an interpreter enum value translated in a string.
- Parameters
-
value | The enum value to convert. |
- Returns
- The string attached to the enum value.
◆ stringToInterpreter()
static INTERPRETER nkScripts::StringUtils::stringToInterpreter |
( |
const std::string_view & |
value | ) |
|
|
static |
Converts a string to a corresponding enum value.
- Parameters
-
value | The string to convert. |
- Returns
- The enum value associated to given string.
The documentation for this class was generated from the following file: